Skip to content

release: 0.2.0#2

Open
stainless-app[bot] wants to merge 39 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.2.0#2
stainless-app[bot] wants to merge 39 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 18, 2025

Automated Release PR

0.2.0 (2026-03-25)

Full Changelog: v0.1.0...v0.2.0

Features

  • api: add displayName to asset (5bc3543)
  • api: add ios sandbox properties and app store for assets (6d57611)
  • api: add optional os field to assets (498ef02)
  • api: add status.mcpUrl for ios (f428625)
  • api: add status.mcpUrl to android (e4775ac)
  • api: increase timeout to 5 minutes since big app installations may take longer than a minute (b14dd27)
  • client: add HttpRequest#url() method (ed55316)
  • client: allow configuring dispatcher executor service (494257b)
  • client: send X-Stainless-Kotlin-Version header (d6e480e)

Bug Fixes

  • client: disallow coercion from float to int (d69101d)
  • client: fully respect max retries (a4c51e6)
  • client: preserve time zone in lenient date-time parsing (a4ce447)
  • client: send retry count header for max retries 0 (a4c51e6)
  • date time deserialization leniency (7210b00)

Chores

  • ci: upgrade actions/github-script (bfd4ab7)
  • ci: upgrade actions/setup-java (06e3dd3)
  • internal: allow passing args to ./scripts/test (5c266ea)
  • internal: clean up maven repo artifact script and add html documentation to repo root (de97a18)
  • internal: codegen related update (774c881)
  • internal: codegen related update (4f05d6e)
  • internal: codegen related update (5584053)
  • internal: codegen related update (79c8267)
  • internal: codegen related update (81e05c4)
  • internal: codegen related update (72091c5)
  • internal: codegen related update (4286530)
  • internal: codegen related update (1547584)
  • internal: codegen related update (db96269)
  • internal: codegen related update (002e4f7)
  • internal: codegen related update (ec5652e)
  • internal: codegen related update (099f5e0)
  • internal: correct cache invalidation for SKIP_MOCK_TESTS (daaf28c)
  • internal: depend on packages directly in example (a4c51e6)
  • internal: improve maven repo docs (febe2a5)
  • internal: remove mock server code (649dc15)
  • internal: support uploading Maven repo artifacts to stainless package server (5b56984)
  • internal: update actions/checkout version (912a4ea)
  • internal: update maven repo doc to include authentication (608554c)
  • internal: upgrade AssertJ (0a6955c)
  • test on Jackson 2.14.0 to avoid encountering FasterXML/jackson-databind#3240 in tests (7210b00)
  • update mock server docs (0c434df)

Documentation


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

Medium Risk
Touches core HTTP behavior (timeouts, retries, multipart encoding, OkHttp connection pool/dispatcher wiring) which can change request semantics and performance. Also updates generated API models and CI/publishing workflows, which could affect release automation if misconfigured.

Overview
Bumps the SDK to v0.2.0 (README badges/snippets, Gradle version, manifest, changelog, license year, updated OpenAPI spec metadata) and updates CI workflows (new branch filters, upgraded GitHub Actions, skip codegen metadata pushes) including a new OIDC-based build step to upload Maven artifacts.

Enhances the client/runtime: default request timeout increases to 5 minutes, default headers now include X-Stainless-Kotlin-Version and allow user headers to override defaults while still updating bearer auth correctly, and HttpRequest gains a url() helper.

Refactors HTTP plumbing: OkHttp wrapper now disables OkHttp connection-failure retries (delegated to RetryingHttpClient), supports configuring dispatcher executor service and connection pool (maxIdleConnections/keepAliveDuration), updates retry logic to respect maxRetries and Retry-After more directly, tightens Jackson coercion and lenient date-time parsing to preserve offsets, and replaces Apache HTTP multipart building with an internal multipart encoder (with new tests).

Updates generated models to match the API: assets add displayName, optional os, and includeAppStore filtering; iOS/Android instance statuses add mcpUrl, and iOS instance types add sandbox/Xcode fields.

Written by Cursor Bugbot for commit 049ed8c. This will update automatically on new commits. Configure here.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0a5649e to 018109a Compare December 20, 2025 04:24
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 018109a to 4842215 Compare December 22, 2025 17:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4842215 to 007cfc7 Compare January 5, 2026 10:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 007cfc7 to 09db70c Compare January 5, 2026 11:02
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 09db70c to 1a03b7a Compare January 6, 2026 04:11
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1a03b7a to c94d460 Compare January 9, 2026 04:18
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from c94d460 to 5f01286 Compare January 13, 2026 07:05
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5f01286 to 9958e56 Compare January 16, 2026 03:56
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jan 16, 2026

🧪 Testing

To try out this version of the SDK:

Add the following URL as a Maven source: 'https://pkg.stainless.com/s/limrun-v1-java/774c881c0a4494df567c62215a600540634c00f2/mvn'

Expires at: Fri, 24 Apr 2026 03:13:28 GMT
Updated at: Wed, 25 Mar 2026 03:13:28 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9958e56 to 115f9e8 Compare January 17, 2026 04:56
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 115f9e8 to aa45c4c Compare January 17, 2026 05:00
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from aa45c4c to 8274413 Compare January 17, 2026 05:05
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8274413 to 708ae3a Compare January 17, 2026 05:06
fix(client): send retry count header for max retries 0
chore(internal): depend on packages directly in example
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 708ae3a to 92b4d92 Compare January 17, 2026 05:08
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 6bf65e4 to e48bca9 Compare March 11, 2026 08:19
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 11, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

5 similar comments
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 12, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 13, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 14, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 15, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 16, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e48bca9 to d60b29c Compare March 17, 2026 10:54
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

return retryAfter
}
// If the API asks us to wait a certain amount of time, do what it says.
return Duration.ofNanos(retryAfterNanos.toLong())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Negative Retry-After crashes retry loop

Medium Severity

Retry-After values are now returned directly as a Duration without bounds checks. Negative values from stale RFC1123 dates or negative numeric headers propagate to sleeper.sleep, which can throw and abort retries instead of falling back to exponential backoff.

Fix in Cursor Fix in Web

if (!endsWith("/")) {
append("/")
}
append(URLEncoder.encode(segment, "UTF-8"))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HttpRequest url encoding mismatches real request

Medium Severity

HttpRequest.url() uses URLEncoder, which applies form encoding (space -> +). The OkHttp transport builds URLs with RFC3986-style encoding (space -> %20). So url() can return a different URL than what is actually sent.

Additional Locations (1)
Fix in Cursor Fix in Web

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 17, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d60b29c to 5f9db0f Compare March 18, 2026 10:04
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 18, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

1 similar comment
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 19, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5f9db0f to fb4886a Compare March 20, 2026 03:28
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 20, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fb4886a to 11dd567 Compare March 20, 2026 18:37
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 21, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

2 similar comments
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 22, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 23, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 11dd567 to 455c804 Compare March 24, 2026 04:33
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 24, 2026

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 455c804 to 049ed8c Compare March 25, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants